/**
 * @author Prakhar
 *
 */

package com.versed.solutions.init;

import com.versed.solutions.details.*;

import javax.servlet.RequestDispatcher;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * Servlet implementation class ApplicationStartUp
 */
@WebServlet("/ApplicationStartUp")
public class ApplicationStartUp extends HttpServlet 
{
	private static final long serialVersionUID = 1L;

	public void doGet(HttpServletRequest request, HttpServletResponse response)
	{
	try
		{
			Initializer initialize = new Initializer();
			initialize.initializeVersed(request, response);
			RequestDispatcher requestDispatcher = request.getRequestDispatcher("/html/index/index.jsp");
			requestDispatcher.forward(request, response);
		}catch(Exception e)
		{
			e.printStackTrace();
		}
		
	}
	
	
}
		